import {RouterView } from 'vue-router'


const routes = {
  path: '/product',
  name: 'product',
  component: RouterView,
  meta: {
    title: '视频',
    requiresAuth: true
  },
  children: [
    {
      path: 'product_list',
      name: 'product_list',
      component: () => import('@/views/product/list/index.vue'),
      meta: {
        title: '视频列表'
      }
    },
    {
      path: 'product_attr',
      name: 'product_attr',
      component: () => import('@/views/product/attr/index.vue'),
      meta: {
        title: '视频属性'
      }
    }
  ]
} //路由规则

export default routes
